package com.qfmy.vo.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import model.entity.novel.Chapter;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.vo.novel
 * @date 2025/6/6
 * @description 小说
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class NovelVo {

    @Schema(description = "小说ID")
    private Integer novelId;

    @Schema(description = "小说名称")
    private String novelName;

    @Schema(description = "小说封面")
    private String image;

    @Schema(description = "小说作者")
    private String author;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "小说评分")
    private Double score;

    @Schema(description = "评分人数")
    private Long scoreCount;

    @Schema(description = "小说字数")
    private Integer count;

    @Schema(description = "阅读量")
    private Integer viewCount;

    @Schema(description = "小说状态 0:连载 1:完结 2:断更")
    private String status;

    @Schema(description = "小说描述")
    private String des;

    @Schema(description = "小说推荐得分")
    private Double recommendScore;

    @Schema(description = "小说搜索次数")
    private Integer searchCount;

    @Schema(description = "小说章节")
    private List<Chapter> chapters;

    @Schema(description = "小说是否加入书架")
    private boolean shelf;

    @Schema(description = "章节数量")
    private Integer chapterNum;

}
